﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="workflowSetting.aspx.cs" Inherits="WEB.workflowinfo.workflowinfoEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #TextArea1
        {
            height: 97px;
            width: 460px;
        }
        #txtRemak
        {
            height: 101px;
            width: 527px;
        }
        .style1
        {
            height: 23px;
        }
        .style2
        {
            width: 80px;
        }
        .style3
        {
            width: 120px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    业务流程 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table width="100%">
        <tr>
            <td align="center">
                <table style="width: 629px;" class="distance-table">
                    <tr>
                        <td>
                            <asp:DropDownList ID="ddlSheetType" runat="server">
                                <asp:ListItem Value="1">报关</asp:ListItem>
                                <asp:ListItem Value="2">报检</asp:ListItem>
                                <asp:ListItem Value="4">加签</asp:ListItem>
                                <asp:ListItem Value="5">危险品</asp:ListItem>
                                <asp:ListItem Value="6">其他</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="style3">
                            <asp:DropDownList ID="ddlGoodsType" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                            工作流名称:
                        </td>
                        <td>
                            <asp:TextBox ID="tbWKName" runat="server" MaxLength="20"></asp:TextBox>
                            <asp:Label ID="Label5" runat="server" ForeColor="Red" Text="(不填则为默认)"></asp:Label>
                        </td>
                    </tr>
                </table>
                <asp:GridView ID="gvWordflowInfo" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    ForeColor="Black" GridLines="Vertical" Height="50px"
                    Width="700px" CssClass="distance" OnRowDeleting="gvWordflowInfo_RowDeleting"
                    BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" 
                    BorderWidth="1px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField HeaderText="步骤号" DataField="stepID" />
                        <asp:BoundField HeaderText="工作环节名称" DataField="busName" />
                        <asp:BoundField HeaderText="处理岗位" DataField="jobName" />
                        <asp:BoundField HeaderText="处理时限(小时)" DataField="doTimeLimit" />
                        <asp:BoundField HeaderText="预警时限" DataField="yellowBefore" />
                        <asp:BoundField DataField="remark" HeaderText="作业指导" />
                        <asp:CommandField ShowDeleteButton="True">
                            <ControlStyle ForeColor="#0066FF" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" Font-Size="Small" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" Font-Size="Small" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>
                <table style="width: 360;" class="distance-table">
                    <tr>
                        <td class="style1" align="right">
                            工作环节名称：
                        </td>
                        <td class="style1" align="left">
                            <asp:DropDownList ID="ddlBusName" runat="server" Width="145px">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            处理岗位：
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="ddlJobNo" runat="server" Width="145px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            处理时限：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbTimeLimit" runat="server" MaxLength="8" Width="100px"></asp:TextBox>
                            &nbsp;<asp:Label ID="Label2" runat="server" Text="小时"></asp:Label>
                        </td>
                        <td align="right">
                            预警时限：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbYellowBefore" runat="server" MaxLength="7" Width="100px"></asp:TextBox>
                            &nbsp;<asp:Label ID="Label3" runat="server" Text="小时"></asp:Label>
                            <asp:Label ID="Label4" runat="server" ForeColor="Red" Text="(剩余多少时间黄灯提示)"></asp:Label>
                        </td>
                    </tr>
                </table>
                <table class="distance-table" style="width: 650;">
                    <tr>
                        <td class="style2" width="50">
                            <asp:Label ID="Label1" runat="server" Text="作业指导："></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="tbRemark" runat="server" Width="600px" MaxLength="1024" Height="86px"
                                TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <br />
                <table width="100%">
                    <tr>
                        <td align="center">
                            <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="增加" BorderStyle="None"
                                CssClass="Submit_yellow" />
                            &nbsp;<asp:Button ID="btnReset" runat="server" Text="重设" OnClick="btnReset_Click"
                                BorderStyle="None" CssClass="Submit_yellow" />
                            &nbsp;<asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" Text="完成" BorderStyle="None"
                                CssClass="Submit_yellow" />
                            &nbsp;<asp:Button ID="btnViewTemplate" runat="server" 
                                OnClick="btnViewTemplate_Click" Text="查看工作流模板"
                                CssClass="Submit_yellowbig" />
                        &nbsp;<input id="return" class="Submit_yellow" onclick="window.history.go(-1)" 
                                type="button" value="返回" /></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
